package com.test.system.enums;

import com.xingluo.system.dict.enumDict.EnumDict;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author ASUS
 * @since 2024/12/2
 */
@EnumDict(name = "状态开关", type = "normal_disable", dataLabelEnumProp = "name")
@Getter
@AllArgsConstructor
public enum StatusEnum {

    ON("上线", "0", "primary"),
    OFF("下线", "1", "danger");

    private final String name;
    private final String status;
    private final String tag;

    public boolean equals(String status) {
        return this.status.equals(status);
    }
}
